﻿<navigation:Page xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="SMS.Views.Master.MainMaster"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 mc:Ignorable="d"
                 xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                 d:DesignWidth="640"
                 d:DesignHeight="480"
                 Title="Masters">
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <ListBox x:Name="lst1"  VerticalAlignment="Stretch" HorizontalAlignment="Stretch"   ItemsSource="{Binding Path=MenuList}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Border Background="#FF565656">
                        <HyperlinkButton Content="{Binding Path=MenuName}"
                             TargetName="ContentFrame" Height="30" Width="180"
                             Margin="2" Style="{StaticResource LinkButtonStyle}"
                             NavigateUri="{Binding Path=MenuPath}"  HorizontalAlignment="Left" FontFamily="Verdana" Foreground="White" FontSize="14"  />
                    </Border>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</navigation:Page>
